GdkDeviceManagerXI2: chain up in constructed
authorMatthias Clasen <mclasen@redhat.com>
Sat, 29 Jun 2013 23:21:28 +0000 (19:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 29 Jun 2013 23:21:28 +0000 (19:21 -0400)
Dispose does chain up, and the parent class' dispose expects
that the object has been fully constructed.

gdk/x11/gdkdevicemanager-xi2.c

index b9093b90899112ca5d82615c82ad7782d8dd9828..7b8ce7617de8943d322747ebdd2a9956579e2a23 100644 (file)
@@ -491,6 +491,8 @@ gdk_x11_device_manager_xi2_constructed (GObject *object)
   XIEventMask event_mask;
   unsigned char mask[2] = { 0 };
 
+  G_OBJECT_CLASS (gdk_x11_device_manager_xi2_parent_class)->constructed (object);
+
   device_manager = GDK_X11_DEVICE_MANAGER_XI2 (object);
   display = gdk_device_manager_get_display (GDK_DEVICE_MANAGER (object));
   xdisplay = GDK_DISPLAY_XDISPLAY (display);